﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Photo.Core.Dtos.Dto
{
    /// <summary>
    /// 分组dto
    /// </summary>
    /// <typeparam name="TKey"></typeparam>
    /// <typeparam name="TEntity"></typeparam>
    public class GroupDto<TKey,TEntity>
    {
        /// <summary>
        /// key
        /// </summary>
        public TKey Key { get; set; }
        /// <summary>
        /// 分组列表
        /// </summary>
        public List<TEntity> GroupList { get; set; }

    }
}
